package dk.au.cs.bdsi.mail.domain;

import javax.xml.bind.annotation.XmlEnumValue;


/**
 * Possible status states of a {@link Mail}
 */
public enum MailStatus {
	/**
	 * Message is queued and will be sent at a later time 
	 */
	@XmlEnumValue(value = "pending")
	Pending,
	
	/**
	 * Message has been successfully sent
	 */
	@XmlEnumValue(value = "sent")
	Sent,
	
	/**
	 * Message could not be sent and has been shelved
	 */
	@XmlEnumValue(value = "notsent")
	NotSent
}
